<div class="module study-groups">
	<h3 class="gradient light">Related Study Groups</h3>
	<div class="inner">
		<ul>
			<?php foreach($groups_pager->getResults() as $groupCourse): ?>
			<li>
				<h4><?php echo link_to($groupCourse->getGroup()->getName(), 'groups/show?id='.$groupCourse->getGroupId()) ?></h4>
				<p class="activity"><?php echo $groupCourse->getGroup()->countGroupMembers() ?> members</p>
			</li>
			<?php endforeach ?>
		</ul>
		<p class="actions">
			<?php echo link_to('Create a new Study Group &#xBB;', 'groups/edit') ?>			
		</p>
	</div>
</div>